_configure_quilt_compat
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Tue, 5 Feb 2013 21:52:29 +0000 (21:52 +0000)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Tue, 5 Feb 2013 21:52:29 +0000 (21:52 +0000)
Avoid '.pc' directories created by quilt.
It breaks qmake projects search.

Gbp-Pq: Name 08_configure_quilt_compat.diff

configure

index 9dc32376bdffb5714ff119ecddb79a56754e4769..32c2ccd13e7320020dc5c712ba7412335a178e03 100755 (executable)
--- a/configure
+++ b/configure
@@ -9005,7 +9005,7 @@ fi
 # .projects.3    -> the rest
 rm -f .projects .projects.1 .projects.2 .projects.3
 
-QMAKE_PROJECTS=`find "$relpath/." -name '*.pro' -print | sed 's-/\./-/-'`
+QMAKE_PROJECTS=`find "$relpath/." -name '.pc' -prune -o -name '*.pro' -print | sed 's-/\./-/-'`
 if [ -z "$AWK" ]; then
     for p in `echo $QMAKE_PROJECTS`; do
         echo "$p" >> .projects